//
//  Book.m
//  copy
//
//  Created by apple on 15/8/11.
//  Copyright (c) 2015年 戴维营. All rights reserved.
//

#import "Book.h"

@implementation Book
- (instancetype)copyWithZone:(NSZone *)zone  //实现在setter中对指针和对象的复制；
{
    return [[[self class] allocWithZone:zone] init];
    
}
- (void)dealloc
{
    [super dealloc];
    
    NSLog(@"%s:%p",__PRETTY_FUNCTION__,self);
}

@end
